package com.ziqikeji.simple.business;

import com.ziqikeji.simple.core.SimpleProxyFactory;

public class Client {
    public static void main(String[] args) {
        TeacherService userService = new TeacherService();
        Operator operator = new Operator();

        ITeacherService userServiceProxy = (ITeacherService) SimpleProxyFactory.newProxyInstance(userService, operator);
        userServiceProxy.add();

    }
}
